<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>发现</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="css/animate.css" rel="stylesheet">
    <link href="css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="css/plugins/webuploader/webuploader.css" rel="stylesheet" type="text/css">
    <link href="css/plugins/fileinput/fileinput.css" rel="stylesheet" type="text/css"/>
    <link href="css/demo/webuploader-demo.css" rel="stylesheet" type="text/css">
    <link href="css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
    <link href="css/plugins/switchery/switchery.css" rel="stylesheet">
    <!--jsTree-->
    <link href="css/plugins/jsTree/style.min.css" rel="stylesheet" type="text/css">
    <!--dropzone-->
    <link href="css/plugins/dropzone/dropzone.css" rel="stylesheet" type="text/css">


    <style>
        /*#resizable { width: 150px; height: 150px; padding: 0.5em; text-align: center; display: table-cell; vertical-align:middle;}*/
        /*#resizable h3 { text-align: center; margin: 0; }*/
        .resizable img {
            width: 40% !important;
            height: 40% !important;
        }
    </style>
    <style>
        .goods-pic .file-preview {
            width: 350px;
        }

        .detail-video .file-preview {
            width: 350px;
        }

        .demo {
            overflow: auto;
            border: 1px solid silver;
            min-height: 100px;
        }

        input[required]:before {
            content: '*';
            color: red;
            margin-right: 5px;
        }

        .dropzone {
            padding: 0px;
            min-height: 100px;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .sku-url-div {
            position: relative;
            width: 120px;
            height: 130px;
        }

        .drop-preview {
            /*固定底部*/
            position: absolute;
            bottom: 0;

            width: 120px;
            height: 120px;
        }
        .drop-a{
            /*固定顶部*/
            position: absolute;
            top: 0;
            margin: 0px 20px!important;
        }
        .dropzone .dz-preview .dz-image {
            border-radius: 1px;
            overflow: hidden;
            width: 85px;
            height: 85px;
            position: relative;
            display: block;
            z-index: 10;
        }
    </style>
    <!--人人店的CSS-->
    <link href="css/viarrd/goods_global.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>
    <script src="js/core.js"></script>
    <script src="js/plugins/layer/layer.min.js"></script>

    <!-- jQuery Validation plugin javascript-->
    <script src="js/plugins/validate/jquery.validate.min.js"></script>
    <script src="js/plugins/validate/messages_zh.min.js"></script>

    <!-- fileinput -->
    <script src="js/plugins/fileinput/fileinput.js"></script>
    <script src="js/plugins/fileinput/fileinput_locale_zh.js"></script>
    <!-- 日期layerDate plugin javascript -->
    <!-- <script src="js/plugins/layer/laydate/laydate.js"></script>
     <script src="js/demo/laydate-demo.js"></script>-->
    <!-- summernote -->
    <script src="js/plugins/summernote/summernote.min.js"></script>
    <script src="js/plugins/summernote/summernote-zh-CN.js"></script>
    <script src="js/demo/summernote-demo.js"></script>

    <!--jsTree-->
    <script src="js/plugins/jsTree/jstree.js"></script>
    <script src="js/plugins/jsTree/jstree.min.js"></script>
    <!--dropzone-->
    <script src="js/plugins/dropzone/dropzone.js"></script>


</head>

<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <div class="goods-form">
                        <form class="form-horizontal m-t">
                            <div class="form-group">
                                <div class="form-group">
                                    <label class="col-sm-3 control-label"><span class="text-danger">*</span>标题</label>
                                    <div class="col-sm-8">
                                        <div class="page-container">
                                            <input type="text" maxlength="50" class="form-control" style="width: 700px" name="tile" id="title">
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-sm-3 control-label"><span class="text-danger">*</span>输入关联商品ID</label>
                                    <div class="col-sm-8">
                                        <div class="page-container">
                                            <input type="number" class="form-control " style="width: 700px" name="goodsId" id="goodsId">
                                        </div>
                                    </div>
                                </div>
                                <div id="jiu_picture_div" class="form-group" style="display: none;">
                                    <label class="col-sm-3 control-label">旧的封面图片：</label>
                                    <div class="col-sm-8">
                                        <span id="picturesUrl" name="picturesUrl" class="footable-sort-indicator"></span>
                                        <span id="picUrl" name="" class="footable-sort-indicator"></span>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label"><span class="text-danger">*</span>封面图片：</label>
                                    <div class="col-sm-8">
                                        <div class="page-container">
                                            <input type="file" id="fileupload2" name="file">
                                        </div>
                                    </div>
                                    <span style="display: none;" id="uploadSuccessImg"></span>
                                </div>

                                <div class="form-group">
                                    <label class="col-sm-3 control-label"><span class="text-danger">*</span>内容</label>
                                    <div class="col-sm-8">
                                        <div class="page-container">
                                            <div id="content" name="content" style="display:none"></div>
                                            <div class="summernote" id="goodsIntroduce" name="goodsIntroduce"
                                                 style="width:300px;!important;"></div>
                                        </div>
                                        <!-- </div>-->
                                    </div>
                                </div>


                                <div class="form-group">
                                    <div class="col-sm-4 col-sm-offset-3">
                                        <button class="btn btn-primary" type="button"  onclick="saveOrUpdate()">保存</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</div>

<!-- 自定义js -->
<script src="js/find_add.js"></script>
</body>
</html>
